<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title><?php echo A('title', 'Infectamic') ?></title>

        <?php foreach (A('styles', array ()) as $style): ?>
        <link rel="stylesheet" type="text/css" href="<?php echo Atomik::appAsset($style) ?>" />
        <?php endforeach; ?>

        <?php foreach (A('scripts', array ()) as $script): ?>
        <script type="text/javascript" src="<?php echo Atomik::appAsset($script) ?>"></script>
        <?php endforeach; ?>

        <link href="<?php echo Atomik::asset('assets/images/favicon.ico') ?>" type="image/x-icon" rel="icon" />
        <link href="<?php echo Atomik::asset('assets/images/favicon.ico') ?>" type="image/x-icon" rel="shortcut icon" />
    </head>

    <body>
        <div id="header">
            <div class="wrapper">
                <div id="logo">
                    <h1><a href="./">Infectamic</a></h1>
                    <h2>Heal them all or... Infect the all!</h2>
                </div>

                <div class="nav_actions">
                    <ul>
                        <li><a href="#">No Login</a></li>
                        <li>|</li>
                        <li><a href="#">No Sign up</a></li>
                    </ul>
                </div>

                <div class="nav_links">
                    <ul>
                        <?php foreach (A('menulinks', array ()) as $menulink): ?>
                        <li>
                            <a href="<?php echo Atomik::url($menulink) ?>">
                                <?php echo $menulink ?>
                            </a>
                        </li>
                        <?php endforeach ?>
                    </ul>
                </div>
            </div>
        </div>

        <div id="description">
            <div class="wrapper">
                <table>
                    <tr>
                        <th>What is this?</th>
                        <th>How does this work?</th>
                        <th>But that's horrible!</th>
                    </tr>

                    <tr>
                        <td>
                            Infectamic is Free online role playing game,
                            easily playable by browser.
                        </td>
                        <td>
                            You play a fictional character infected by the
                            H4G2 virus and there's only 23 days left before you
                            succomb.
                        </td>
                        <td>
                            Don't panic! These are the alternatives before you to (try to) survive:
                            <ul>
                                <li>become healer and try to find the vaccine;</li>
                                <li>become infecter to share your fate to all!</li>
                            </ul>
                        </td>
                    </tr>
                </table>
            </div>
        </div>

        <div id="content">
            <div class="wrapper">
                <div class="section">
                    <h1>Page not found</h1>

                    <p class="error">
                        <strong>Error:</strong> HTTP 404 Error page not found
                    </p>

                    <h1>Don't panic!</h1>

                    <p class="notice">
                        <strong>Notice:</strong> It seems that the page you
                        requested doesn't exist, but there are plenty of other
                        pages, that actually exist or at least that are
                        supposed to exist:
                    </p>

                    <ul class="notice">
                        <?php foreach (A('menulinks', array ()) as $menulink): ?>
                        <li>
                            <a href="<?php echo Atomik::url($menulink) ?>">
                                <?php echo $menulink ?>
                            </a>
                        </li>
                        <?php endforeach ?>
                    </ul>
                </div>
            </div>
        </div>

        <div id="footer">
            <div class="wrapper">
                <ul>
                    <?php foreach (A('footlinks', array ()) as $footlink): ?>
                    <li>
                        <a href="<?php echo $footlink['link'] ?>" title="<?php echo $footlink['title'] ?>">
                            <?php echo $footlink['content'] ?>
                        </a>
                    </li>
                    <?php endforeach ?>
                </ul>
            </div>
        </div>
    </body>
</html>
